/**
 * 
 */
package br.embedded.socialapp.data;

import java.util.Date;
import java.util.List;

import br.embedded.socialapp.domain.GraphBuilder;
import br.embedded.socialapp.domain.Usuario;
import br.embedded.socialapp.location.Coordenates;

/**
 * @author daniel
 *
 */
public interface PersistenceManager
{
	public void createUser(String login, String firstName, String lastName, String passwd);
	public boolean doLogin(String login, String passwd);
	public boolean checkLogin(String login);
	public void updateSocialNetworkId(String login, String socialNetwork, String id);
	public Usuario getUserByLogin(String login);
	public List<Usuario> getUserById(String id);
	public void registerLocation(String login, double latitude, double longitude);
	public List<Coordenates> getCoordenates(List<Usuario> friendList, Date initialDate, Date endDate);
	public List<GraphBuilder> getUsers();
	public void addFriendship(String userLogin1, String userLogin2, String network);
}
